# 返回函数
# def lazy_sum(*args):
# 	def sum():
# 		t = 0;
# 		for arg in args:
# 			t = t + arg
# 		return t
# 	return sum

# f = lazy_sum(1,2,3,4)
# print(f)

# print(f())

# def count():
# 	fs = []

# 	def fn(i):
# 		def sum():
# 			return i*i
# 		return sum

# 	for i in range(1,4):
# 		print("i",i)
# 		fs.append(fn(i))
# 	print(fs)
# 	return fs

# f1,f2,f3 = count()
# print(f1(),f2(),f3())
# f1,f2,f3 = count()
# print(f1(),f2(),f3())


import myfn
import mylib.myfn

print(mylib.myfn.test())

def log(f):
	print("log: ", f.__name__)
	def wrapper():
		f();
	return wrapper;

# @log
# def myfn():
# 	print("count=", 10)
# 	return 0

# myfn()


